<template>
  <div class="bigbox">
      <div class="user-box">
          <div class="title">
            <router-link to="/login">登录</router-link>
            <span>·</span>
            <router-link to="/register">注册</router-link>
          </div>
      </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
    .bigbox{
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: pink;
    }
    .user-box{
        width: 300px;
        min-height: 300px;
        background-color: white;
        border-radius: 10px;
        margin: 80px auto;
        padding: 20px 30px;
    }
    .title {
    text-align: center;
    margin-bottom: 40px;
    }
    .title a{
        font-size: 20px;
        margin: 0px 15px;
        padding-bottom: 6px;
    }
    .title span{
        font-weight: bold;
    }
    .router-link-active{
        font-weight: bold;
        color: orangered;
        border-bottom: 2px solid orangered;
    }
</style>